package com.cherrish.demo.spring;

/**
 * @author cherrish
 * @time 2019-03-19 14:40
 * @name Cat
 * @desc:
 */
public class Cat implements Animal{

    private String word;

    public String getWord() {
        return word;
    }

    public void setWord(String word) {
        this.word = word;
    }

    @Override
    public void say() {
        System.out.println("Cat: " + word);
    }
}
